﻿using System;
using System.Collections.Generic;
using System.Runtime.Serialization;

namespace SoftwareLogistics.SharepointClient.Models
{
    [DataContract]
    public class SPFormDefaults
    {
        private Dictionary<string, string> _defaults;
        [DataMember] 
        public Dictionary<string, string> Defaults
        {
            get { return _defaults; }
            set { _defaults = value; }
         }

        public SPFormDefaults()
        {
            _defaults = new Dictionary<string, string>();
        }

        public void AddValue(string fieldName, string value)
        {
            _defaults.Add(fieldName, value);
        }

    }
}
